var WallView = JW.Canvas.Component.extend({
	wall : null, // Wall
	
	render: function()
	{
		this._super();
		
		this.updatePosition();
	},
	updatePosition: function()
	{
		this.graphics.clear();
		
		this.graphics.beginPath();
		this.graphics.moveTo(this.wall.x0, this.wall.y0);
		this.graphics.lineTo(this.wall.x1, this.wall.y1);
		this.graphics.closePath();
		this.graphics.strokeStyle("black");
		this.graphics.stroke();
	}
});
